package com.cyf.app.network.bean;

import com.cyf.merchat.network.bean.MerchantLoginItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * app响应基类
 * Created by cage on 2017/2/15.
 */
@ApiModel
public class AppBusinessRsp {

    public static final int SUCCESS = 0;
    public static final int FAIL = -1;
    public static final int TIMEOUT = 2;

    @ApiModelProperty("0成功，-1失败, 2超时")
    private int result;
    @ApiModelProperty("错误原因")
    private String strError = "";
    @ApiModelProperty("商户信息")
    private MerchantLoginItem item;
    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getStrError() {
        return strError;
    }

    public void setStrError(String strError) {
        this.strError = strError;
    }

    public MerchantLoginItem getItem() {
        return item;
    }

    public void setItem(MerchantLoginItem item) {
        this.item = item;
    }
}
